package com.curd.jpa.business.rest;

import com.curd.jpa.base.rest.IBaseController;
import com.curd.jpa.business.entity.User;
import com.curd.jpa.business.service.UserService;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@CrossOrigin
@RestController
@RequiredArgsConstructor
@RequestMapping("/jpa/user")
@Api(tags = "JPA测试：用户管理")
public class UserController extends IBaseController<User, Long, UserService> {
}
